package com.xinlong.shop.core.temp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 抢购老系统临时使用
 * </p>
 *
 * @author Sylow
 * @since 2023-04-07
 */
@TableName("t_buy_group")
public class BuyGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 场次id
     */
    private String ruleId;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 产品id
     */
    private Integer productId;

    /**
     * 会员id
     */
    private Integer memberId;

    /**
     * 创建时间戳
     */
    private Long createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }
    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }
    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }
    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TBuyGroup{" +
            "id=" + id +
            ", ruleId=" + ruleId +
            ", goodsId=" + goodsId +
            ", productId=" + productId +
            ", memberId=" + memberId +
            ", createTime=" + createTime +
        "}";
    }
}
